package bancosys.tec.utils.db.descriptor;

/**
 * VO para um arquivo de base de referência.
 * 
 * @author jrenaut
 */
public class ReferenceDatabaseEntry {

    private String classpathResourcePath;

    private String type;

    /**
     * C'tor
     * 
     * @param classpathResourcePath o caminho do arquivo no classpath
     * @param type o tipo
     */
    public ReferenceDatabaseEntry(String classpathResourcePath, String type) {
        super();
        this.classpathResourcePath = classpathResourcePath;
        this.type = type;
    }

    /**
     * @return the classpathResourcePath
     */
    public String getClasspathResourcePath() {
        return this.classpathResourcePath;
    }

    /**
     * @return the tag
     */
    public String getType() {
        return this.type;
    }

    /**
     * @return String
     */
    @Override
    public String toString() {
        return String.format("[%s - %s]", this.classpathResourcePath, this.type);
    }

}
